package com.wpml.ware.service;

import com.wpml.common.util.PageUtils;
import com.wpml.ware.entity.WareSkuModel;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wpml.ware.vo.SkuHasStockVo;

import java.util.List;
import java.util.Map;


/**
 * 商品库存(WmsWareSku)表服务接口
 *
 * @author wangpei
 * @since 2020-04-07 12:34:53
 */
public interface WareSkuService extends IService<WareSkuModel> {

    PageUtils queryPage(Map<String, Object> params);

    void addStock(Long skuId, Long wareId, Integer skuNum);

    List<SkuHasStockVo> checkHasStock(List<Long> skuIds);
}
